FROM openjdk:8

MAINTAINER wjk
WORKDIR /apps/
ADD target/blog-service.jar /apps/
EXPOSE 7100
VOLUME /apps/

RUN echo "Asia/Shanghai" > /etc/timezone
CMD ["java","-jar","-Xmx128m","-Xms128m","blog-service.jar"]